<?php
error_reporting(E_ALL ^ E_NOTICE);
session_start();
?>
<?php
if($_SESSION["loggedin"]==true && $_SESSION["role"]==admin)
{
if(isset($_SESSION[msg]))
{
echo $_SESSION[msg];
unset($_SESSION[msg]);
}
?>
<a href="admin/user_list.php">User Management</a><br>
<a href="role/role_list.php">Role Management</a><br>
<a href="project/project_list.php">Project Management</a><br>
<a href="client/client_list.php">Client Management</a><br>

<?php
}
else
{
header("Location: login.php");
}
?>